.city {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;

  &__top {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;

    .title {
      font-size: 18px;
      color: #191a1b;
    }
  }

  &__search {
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 50px;
    background-color: #f4f4f4;

    .input-box {
      flex: 1;
      height: 30px;
      background-color: #ffffff;
    }

    .cancel-btn {
      margin-right: -10px;
      padding: 10px;
      font-size: 14px;
    }
  }

  &__body {
    flex: 1;
    display: flex;
    overflow-y: hidden;
    .content {
      position: relative;
      flex: 1;
      overflow-y: auto;
    }
    .nav {
      display: flex;
      align-items: center;
      width: 18px;
      background-color: green;
    }
  }

  .recommend-city {
    height: 100px;
    background-color: red;
  }

  .section {
    &-index {
      padding-left: 15px;
      height: 30px;
      line-height: 30px;
      color: #797d82;
      background-color: #f4f4f4;
      box-sizing: border-box;
    }

    .city-item {
      padding-left: 20px;
      line-height: 48px;
      font-size: 14px;
    }
  }

  .nav-item {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
  }
}
